package com.ayoka.parenting.ui.meditation.more;

import com.ayoka.parenting.bean.MeditationMoreDataBean;
import com.ayoka.parenting.bean.MeditationMoreMultiEntity;
import com.ayoka.parenting.interf.RequestCallback;
import com.ayoka.parenting.mvp.BasePresenter;
import com.ayoka.parenting.mvp.BaseView;

import java.util.List;

/**
 * @ProjectName: MVPPlugin.
 * @ClassName: MeditationMoreContract.
 * @Description: .
 * @Author: jincp.
 * @CreateDate: 2019/10/10 18:17.
 */
public class MeditationMoreContract {

    public interface View extends BaseView {

        void configMeditationMoreListData(String lastMeditationId, List<MeditationMoreMultiEntity> listData);

        void goToMeditationDetail(String meditationId, String title, int mediaType);
    }

    public interface Presenter extends BasePresenter<View> {
        void getMeditationMoreListData(boolean isShowWaitDialog);
    }

    public interface Model {
        void getMeditationMoreListData(BasePresenter presenter, RequestCallback<MeditationMoreDataBean> requestCallback);
    }
}
